<!DOCTYPE html>
<html lang="en" xmlns:th="http://www.thymeleaf.org">
<head th:include="layout/header">
</head>
<body>
	<input id="type" type="hidden" />
	<div id="fakeLoader"></div>
	<section class="content-header" >
		<h3>费用管理</h3>
		<ol class="breadcrumb">
			<li><i class="fa fa-home"></i>首页</li>
			<li>费用管理</li>
			<li class="active">费用维护</li>
		</ol>
	</section>
	<!-- Main content -->
	<section class="content">
		<div class="box">
			<div class="box-header">
				<h3 class="box-title"></h3>
			</div>
			<!-- /.box-header -->
			<div class="box-body">
				<div class="nav-tabs-custom">
					<ul class="nav nav-tabs">
						<li class="active"><a href="#tab_unfinish" data-toggle="tab">费用维护列表</a></li>
					</ul>
					<div class="tab-content">
						<!-- 待办列表 -->
						<div id="tab_unfinish" class="tab-pane active">
							<!-- 查询条件 start -->
							<form id="costForm" class="form-horizontal">
								<div class="form-group">
									<label for="patient_name" class="col-md-2 control-label">医院名称：
									</label>
									<div class="col-md-2">
										<input id="hospital_name" class="form-control" type="text"
										name="hospital_name" bindname="hospital_name"maxlength="50"
										placeholder="请输入医院名称模糊匹配..." />
									</div>
									<label for="idnumber" class="col-md-2 control-label">科室名称：
									</label>
									<div class="col-md-2">
										<input id="department_name" class="form-control" type="text"
										name="department_name" bindname="department_name"maxlength="50"
										placeholder="请输入科室名称模糊匹配..." />
									</div>
								</div>
								<div class="form-group">
									<label for="patient_name" class="col-md-2 control-label">医生名称：
									</label>
									<div class="col-md-2">
										<input id="user_name" class="form-control" type="text"
											name="user_name" bindname="user_name" maxlength="50"
											placeholder="请输入医生名称模糊匹配..." />
									</div>
									<label for="position_code" class="col-md-2 control-label">医生职称：
									</label>
									<div class="col-md-2">
										<select id="position_code" name="position_code" bindname="position_code"></select>
									</div>
									
								</div>
								<div class="form-group">
									<label class="col-md-2 control-label"></label>
									<div class="col-md-6">
										
									</div>
									<div class="col-md-4">
										<button id="queryBtn" type="button"
											class="btn btn-warning pull-right w100">
											<i class="fa fa-search"></i>查询
										</button>
										<button id="addBtn" type="button"
											class="btn btn-info pull-right mr30">
											新增费用
										</button>
									</div>
								</div>
							</form>
							<!-- 查询条件 end -->
							<table data-class="table table-bordered" id="costListTable"
								data-striped="true" data-pagination="true"
								data-side-pagination="server" data-page-size="10"
								data-page-list="[10, 20]">
								<thead>
									<tr class="dataStore_title">
										 <th data-field="state" data-radio="true" data-align="left" data-valign="middle"></th>
									<th data-field="hospital_name" data-align="left" data-valign="middle"
										data-width="15%">医院名称</th>
									<th data-field="department_name" data-align="left"
										data-valign="middle" data-width="15%">科室名称</th>
									<th data-field="user_name" data-align="left"
										data-valign="middle" data-width="15%">医生名称</th>
									<th data-field="position_code" data-align="left"
										data-valign="middle" data-width="15%" data-formatter-args="positionCodeMap" data-formatter="transcode">医生职称</th>
									<th data-field="cost" data-align="left"
										data-valign="middle" data-width="15%">会诊费用</th>
										<th data-field="manager_cost" data-align="left"
										data-valign="middle" data-width="15%">管理费</th>
									<th data-field="operation" data-align="center"
										data-valign="middle" data-formatter="operateFormatter"
										data-events="operateEvents" data-width="15%"><div>操&nbsp;作</div></th>
									</tr>
								</thead>
							</table>
						</div>
					</div>
				</div>
			</div>
			<!-- /.box-body -->
		</div>
		<!-- /.box -->
	</section>
	<div th:include="layout/footer"></div>
	<script th:if="${projectModel=='dev'}" th:src="@{/static/js/business/cost/list.js(v=${#dates.createNow().getTime()})}"></script>
	<script th:if="${projectModel=='product'}" th:src="@{/static/js/business/cost/list.js}"></script>
</body>
</html>